package com.xiyuan.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.xiyuan.entity.Family;
@Repository
public interface FamilyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Family record);

    int insertSelective(Family record);

    Family selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Family record);

    int updateByPrimaryKey(Family record);
    
    List<Family> selectByHyid(Integer id);
    
    void deleteByHyid(Integer hyid);
}